package com.aosan.website.admin.dto

import org.springframework.security.core.GrantedAuthority
import org.springframework.security.core.userdetails.User
import java.util.*

class Principal : User {

    constructor()
            : this("", "", false, false, false, false, Collections.emptySet())


    constructor(username: String, password: String,
                enabled: Boolean, accountNonExpired: Boolean,
                credentialsNonExpired: Boolean, accountNonLocked: Boolean,
                authorities: Collection<GrantedAuthority>?) : super(
            username, password, authorities
    )

}